import request from "@/plugin/axios";

const BASE_URL = "zwdd";

export function ZwddLogin({ authCode }) {
  return request({
    url: BASE_URL + "/login/" + authCode,
    method: "get",
  });
}
// token登陆方式
export function ZwddTokenLogin(data) {
  return request({
    url: BASE_URL + "/tokenLogin",
    method: "get",
    params: data,
  });
}

export function ZwddQrCodeLogin({ code }) {
  return request({
    url: BASE_URL + "/qrcode/" + code,
    method: "get",
  });
}
